//  @ Project : GagalPanen
//  @ File Name : direction.hpp
//  @ Date : 3/9/2011
//  @ Author : dolphinigle
//
//

#include <string>

#if !defined(_DIRECTION_H)
#define _DIRECTION_H

enum Direction {
  kUp,
  kLeft,
  kDown,
  kRight
};

namespace DirectionNamespace {
    int getDeltaX(Direction dir);
    int getDeltaY(Direction dir);
    Direction getTurnLeft(Direction dir);
    Direction getTurnRight(Direction dir);
    Direction getTurnBack(Direction dir);
    int getDirectionCount();
    std::string getDirectionSingleRep(Direction dir);
};

#endif  //_DIRECTION_H
